package com.ruoyi.yljf.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.yljf.domain.*;
import com.ruoyi.yljf.domain.vo.CollectCourseVO;

/**
 * 收藏记录Service接口
 *
 * @author metaee
 * @date 2025-04-19
 */
public interface ICollectRecordService extends IService<CollectRecord> {
    /**
     * 查询收藏记录列表
     *
     * @param collectRecord 收藏记录
     * @return 收藏记录集合
     */
    public List<CollectRecord> selectCollectRecordList(CollectRecord collectRecord);

    boolean ifCollect(String targetType, Long id, Long userId);

    String collect(String targetType, Long targetId, Long userId);

    List<Course> getCollectCourseList(Long userId);

    List<Jingfang> selectJingfangRecordListByType(Long userId);

    List<MedicalRecord> selectMedicalRecordListByType(Long userId);

    List<Drug> selectDrugRecordListByType(Long userId);
}
